import {get, post, del, put} from "@/apis/http/request";
import {ShopCardLog} from "@/apis/model/shop/ShopCardLogModel";

/**
* 得到列表
* @param params
*/
export const getShopCardLogList = (params: any) => get("/shopCardLog/list", params)

/**
* 得到分页列表
* @param params
*/
export const shopCardLogPage = (params: any) => post("/shopCardLog/page", params)

/**
* 删除数据
* @param id
* @returns
*/
export const deleteShopCardLogById = (id: number) => del("/shopCardLog/delete/"+ id)

/**
* 新增数据
* @param param
*/
export const insertShopCardLog = (param: ShopCardLog) => post("/shopCardLog", param)

/**
* 更新数据
* @param param
*/
export const updateShopCardLog = (param: ShopCardLog) => put("/shopCardLog", param)
